import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 创建业务字典
export const systemBusinessDictCreate = (data) => postRequest('/system/business-dict/create', data);

// 更新业务字典
export const systemBusinessDictUpdate = (data) => putRequest('/system/business-dict/update', data);

// 删除业务字典
export const systemBusinessDictDelete = (params) => deleteRequest('/system/business-dict/delete', params);

// 获得业务字典
export const systemBusinessDictGet = (params) => getRequest('/system/business-dict/get', params);

// 获得业务字典分页
export const systemBusinessDictPage = (params) => getRequest('/system/business-dict/page', params);

// 导出业务字典 Excel
export const systemBusinessDictExportExcel = (params) => getRequest('/system/business-dict/export-excel', params);

